Skip to content

Conversation

@ThisIsAreku
Copy link

The WithResponseTimeout option expects a number of milliseconds typed as time.Duration, which is not idiomatic in Go.

This PR adds a new WithResponseTimeoutDuration that takes a proper time.Duration value.

This preserves backward compatibility while fixing the semantic mismatch.

@ThisIsAreku ThisIsAreku force-pushed the dev/response_timeout_unit branch from c91f709 to b0ef0e1 Compare December 6, 2025 22:46
@ThisIsAreku
Copy link
Author

@andreykaipov tests are failing on an unrelated line:

assert.Error(t, err)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant